package com.iot.gateway.tsl.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 设备增删改查请求 QO
 */
@Data
@Schema(name = "DeviceQo", description = "新增/更新 设备 请求 DTO")
public class DeviceQo {

    @Schema(description = "设备 ID，更新时必填，新增可不填", example = "550e8400-e29b-41d4-a716-446655440000")
    private String id;

    @Schema(description = "所属产品 Key", required = true, example = "abc123XYZ")
    private String productKey;

    @Schema(description = "设备名称", required = true, example = "device123")
    private String name;
}
